class LeftMenuBase:

    def level_one_menu(self, menu_name):
        return "//aside//span[text()='" + menu_name + "']/ancestor::li"

    def level_two_menu(self, menu_name):
        return "//aside//span[text()='" + menu_name + "']/parent::a/parent::li"
